home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / FromTheMag / JW FLV MEDIA PLAYER 4.2 / mediaplayer.exe / player.swf / scripts / player_fla / controlbar_24.as < prev    next >
Text File  |  2008-11-04  |  5KB  |  112 lines

  1. package player_fla
  2. {
  3.    import flash.accessibility.AccessibilityProperties;
  4.    import flash.display.MovieClip;
  5.    import flash.text.TextField;
  6.    
  7.    public dynamic class controlbar_24 extends MovieClip
  8.    {
  9.        
  10.       
  11.       public var unmuteButton:MovieClip;
  12.       
  13.       public var nextButton:MovieClip;
  14.       
  15.       public var timeSlider:MovieClip;
  16.       
  17.       public var normalscreenButton:MovieClip;
  18.       
  19.       public var shade:MovieClip;
  20.       
  21.       public var prevButton:MovieClip;
  22.       
  23.       public var totalText:TextField;
  24.       
  25.       public var volumeSlider:MovieClip;
  26.       
  27.       public var muteButton:MovieClip;
  28.       
  29.       public var elapsedText:TextField;
  30.       
  31.       public var linkButton:MovieClip;
  32.       
  33.       public var fullscreenButton:MovieClip;
  34.       
  35.       public var pauseButton:MovieClip;
  36.       
  37.       public var stopButton:MovieClip;
  38.       
  39.       public var playButton:MovieClip;
  40.       
  41.       public var back:MovieClip;
  42.       
  43.       public function controlbar_24()
  44.       {
  45.          super();
  46.          addFrameScript(0,frame1);
  47.       }
  48.       
  49.       function frame1() : *
  50.       {
  51.          unmuteButton.tabIndex = 10;
  52.          muteButton.tabIndex = 9;
  53.          linkButton.tabIndex = 6;
  54.          fullscreenButton.tabIndex = 7;
  55.          nextButton.tabIndex = 5;
  56.          pauseButton.tabIndex = 2;
  57.          playButton.tabIndex = 1;
  58.          normalscreenButton.tabIndex = 8;
  59.          stopButton.tabIndex = 3;
  60.          prevButton.tabIndex = 4;
  61.          back.accessibilityProperties = new AccessibilityProperties();
  62.          back.accessibilityProperties.silent = true;
  63.          shade.accessibilityProperties = new AccessibilityProperties();
  64.          shade.accessibilityProperties.silent = true;
  65.          volumeSlider.accessibilityProperties = new AccessibilityProperties();
  66.          volumeSlider.accessibilityProperties.silent = true;
  67.          unmuteButton.accessibilityProperties = new AccessibilityProperties();
  68.          unmuteButton.accessibilityProperties.name = "unmuteButton";
  69.          unmuteButton.accessibilityProperties.shortcut = "m";
  70.          unmuteButton.accessibilityProperties.forceSimple = true;
  71.          muteButton.accessibilityProperties = new AccessibilityProperties();
  72.          muteButton.accessibilityProperties.name = "muteButton";
  73.          muteButton.accessibilityProperties.shortcut = "m";
  74.          muteButton.accessibilityProperties.forceSimple = true;
  75.          linkButton.accessibilityProperties = new AccessibilityProperties();
  76.          linkButton.accessibilityProperties.name = "linkButton";
  77.          linkButton.accessibilityProperties.shortcut = "l";
  78.          linkButton.accessibilityProperties.forceSimple = true;
  79.          fullscreenButton.accessibilityProperties = new AccessibilityProperties();
  80.          fullscreenButton.accessibilityProperties.name = "FullscreenButton";
  81.          fullscreenButton.accessibilityProperties.shortcut = "f";
  82.          fullscreenButton.accessibilityProperties.forceSimple = true;
  83.          timeSlider.accessibilityProperties = new AccessibilityProperties();
  84.          timeSlider.accessibilityProperties.silent = true;
  85.          nextButton.accessibilityProperties = new AccessibilityProperties();
  86.          nextButton.accessibilityProperties.name = "nextButton";
  87.          nextButton.accessibilityProperties.shortcut = "right-arrow";
  88.          nextButton.accessibilityProperties.forceSimple = true;
  89.          pauseButton.accessibilityProperties = new AccessibilityProperties();
  90.          pauseButton.accessibilityProperties.name = "pauseButton";
  91.          pauseButton.accessibilityProperties.shortcut = "p";
  92.          pauseButton.accessibilityProperties.forceSimple = true;
  93.          playButton.accessibilityProperties = new AccessibilityProperties();
  94.          playButton.accessibilityProperties.name = "playButton";
  95.          playButton.accessibilityProperties.shortcut = "p";
  96.          playButton.accessibilityProperties.forceSimple = true;
  97.          normalscreenButton.accessibilityProperties = new AccessibilityProperties();
  98.          normalscreenButton.accessibilityProperties.name = "normalscreenButton";
  99.          normalscreenButton.accessibilityProperties.shortcut = "f";
  100.          normalscreenButton.accessibilityProperties.forceSimple = true;
  101.          stopButton.accessibilityProperties = new AccessibilityProperties();
  102.          stopButton.accessibilityProperties.name = "stopButton";
  103.          stopButton.accessibilityProperties.shortcut = "s";
  104.          stopButton.accessibilityProperties.forceSimple = true;
  105.          prevButton.accessibilityProperties = new AccessibilityProperties();
  106.          prevButton.accessibilityProperties.name = "prevButton";
  107.          prevButton.accessibilityProperties.shortcut = "left-arrow";
  108.          prevButton.accessibilityProperties.forceSimple = true;
  109.       }
  110.    }
  111. }
  112.